home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
051-075
/
scopedisk69
/
cclat
/
src
/
err.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-19
|
613b
|
32 lines
/*
* these are in a separate file so the compiler doesn't bitch about mismatched
* arguments
*/
#include <stdio.h>
#include "common.h"
/*VARARGS1*/
void warning(fmt,a1,a2,a3,a4,a5,a6,a7)
char *fmt;
char *a1,*a2,*a3,*a4,*a5,*a6,*a7;
{
fputs("cc: warning: ",stderr);
fprintf(stderr,fmt,a1,a2,a3,a4,a5,a6,a7);
putc('\n',stderr);
(void) fflush(stderr);
}
/*VARAS1*/
void fatal(fmt,a1,a2,a3,a4,a5,a6,a7)
char *fmt;
char *a1,*a2,*a3,*a4,*a5,*a6,*a7;
{
fputs("cc: error: ",stderr);
fprintf(stderr,fmt,a1,a2,a3,a4,a5,a6,a7);
putc('\n',stderr);
(void) fflush(stderr);
exit(1);
}